package com.seabook.happy.website.servlets;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.seabook.happy.website.services.LinkedInResumeService;

public class LinkedInResumeServlet extends HttpServlet {

	/**
	 * 
	 */
	private static final long serialVersionUID = 403250400294012962L;
	
	
	private LinkedInResumeService linkedInResumeService = new LinkedInResumeService();
	
	@Override
	protected void doPost(HttpServletRequest req, HttpServletResponse resp)
			throws ServletException, IOException {
		linkedInResumeService.getResumeFromLinkedIn();
	}
	
	@Override
	protected void doGet(HttpServletRequest req, HttpServletResponse resp)
			throws ServletException, IOException {
		doPost(req, resp);
	}
}
